using System;
using System.Runtime.Serialization;
using OracleInternal.Common;

namespace OracleInternal.NotificationServices
{
	[Serializable]
	internal class SubscriptionException : SystemException
	{
		protected internal SubscriptionException(string s)
			: base(s)
		{
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097408, OracleTraceClassName.SubscriptionException, OracleTraceFuncName.ctor);
			}
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097664, OracleTraceClassName.SubscriptionException, OracleTraceFuncName.ctor);
			}
		}

		protected SubscriptionException(SerializationInfo info, StreamingContext context)
			: base(info, context)
		{
		}
	}
}
